package DAO;

import bean.Complaint;

import java.sql.Connection;
import java.util.List;

/**
 * @author 栋
 * @date 2022/11/8
 * @description
 */
public interface ComplaintDAO {
    /**
     * 添加投诉信息
     * @param conn
     * @param c 投诉信息
     * @return
     */
    public int add_Complaint(Connection conn, Complaint c);

    /**
     * 获取所有投诉信息
     * @param conn
     * @return
     */
    public List<Complaint> get_all_complaint(Connection conn);
}
